import request from '@/utils/request/index'

//获取案例的标签
export function getHotTag() {
  return request({
    url: `/service/system/manage/case/tagDict`,
    method: 'get'
  })
}
// 获取套餐
export function getCasePackage(id: string | number) {
  return request({
    url: `/service/system/manage/case/getDetailInfoById?id=${id}`,
    method: 'POST'
  })
}

//获取案例的列表
export function getCaseList(data: Object) {
  return request({
    url: `/service/system/case/list`,
    method: 'post',
    data
  })
}

//获取案例详情
export function getCaseDetail(data: Object) {
  return request({
    url: '/service/system/case/detail',
    method: 'post',
    data
  })
}
